﻿CREATE TRIGGER CommitteeBankAccountExpenses_Tracking_Delete
ON [dbo].[CommitteeBankAccountExpenses] 
AFTER delete
AS 
BEGIN
	UPDATE Sync.CommitteeBankAccountExpenses_Tracking 
	SET LastUpdatedDate  = getdate(),
		IsDeleted = 1
	FROM Sync.CommitteeBankAccountExpenses_Tracking s JOIN DELETED i
    ON s.CommitteeBankAccountExpensesID = i.CommitteeBankAccountExpensesID
END











